body {
    background-color: #f3f5f7;
}
i {
    font-style: normal;
}
/* 定义一个版心 */
.wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* 侧边栏 开始 */
.subnav {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 620px;
    width: 80px;
    height: 200px;
    background-color: pink;
}
/* 侧边栏 结束 */

/* header盒子制作开始啦 */
.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #fff;
    /* background-color: pink; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
}
.logo {
    width: 195px;
    height: 41px;
    /* background-color: purple; */
}
.logo a {
    display: block;
    height: 41px;
    background: url(../images/logo.png);
    /* 隐藏文字 */
    font-size: 0;
}
.header .wrapper {
    display: flex;
    padding-top: 29px;
}
.nav {
    margin-left: 100px;
}
.nav ul {
    display: flex;
}
.nav li {
    margin-right: 20px;
}
.nav li a {
    font-size: 19px;
    padding: 8px;
    line-height: 34px;
}
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}
/* 搜索 */
.search {
    position: relative;
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    border-radius: 20px;
    margin-left: 80px;
}
.search input {
    width: 412px;
    height: 40px;
    background-color: transparent;
    border: 0;
    padding-left: 20px;
    padding-right: 20px;
    outline: 0;
}
.search .icon-fangdajing {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color:#00a4ff;
}
/* 用户模块 */
.user {
    margin-left: 32px;
}
.user img {
    vertical-align: middle;
}
.user span {
    vertical-align: middle;
    font-size: 16px;
    color: #666666;
}
/* header盒子制作结束啦 */

/* banner start */
.banner {
    margin-top: 100px;
    height: 420px;
    background-color: #0092cb;
}
.banner .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 420px;
    background: url(../uploads/banner.png);
}
.banner .left {
    width: 191px;
    height: 420px;
    padding-top: 3px;
    background-color: rgba(0, 0, 0, 0.42);
}
.banner .left li a {
    display: flex;
    justify-content: space-between;;
    height: 46px;
    padding: 0 20px;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    transition: all .3;
}
.banner .left li a:hover {
    color: #00a4ff;
    background-color: rgba(0, 0, 0, .3);
    padding-left: 35px;
}
.banner .right {
    width: 218px;
    height: 305px;
    padding-top: 18px;
    background-color: #209dd5;
    border-radius: 15px;
}
.banner .right h3 {
    height: 31px;
    color: #fff;
    padding-left: 14px;
    font-size: 15px;
}
.banner .content {
    height: 257px;
    background-color: #fff;
    border-radius: 10px;
    padding: 14px;
}
.banner .content dl {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}
.banner .content dt {
    font-size: 14px;
    font-weight: 700;
}
.banner .content dd {
    font-size: 12px;
    margin: 8px 0;
    color: #7d7d7d;
}
.banner .content dd span {
    color: #00a4ff;
}
.banner .content a {
    display: block;
    height: 32px;
    background-color: #00a4ff;
    border-radius: 16px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 32px;
}
.banner .content a:hover {
    background-color: #049bec;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
}
/* banner end */

/* recommend start */
.recommend {
    position: sticky;
    z-index: 99;
    top: 100px;
    display: flex;
    justify-content: space-between;
    height: 60px;
    background-color: #fff;
    margin-top: 12px;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, .5);
    line-height: 60px;
    padding: 0 20px;
}
.recommend h3 {
    font-size: 18px;
    font-weight: 400;
    color: #00a4ff;
    /* margin-right: 20px; */
}
.recommend ul {
    display: flex;
    flex: 1;
}
.recommend ul li a {
    border-right: 1px solid #e0e0e0;
    padding: 0 24px;
}
.recommend ul li a:hover {
    color: #00a4ff;
}
.recommend ul li:last-child a {
    border-right: 0;
}
.recommend .mod {
    color:#00a4ff;
    font-size: 16px;
}
/* recommend end */

/* 课程模块开始 */
.hd {
    display: flex;
    justify-content: space-between;
    line-height: 30px;
    height: 30px;
    /* background-color: pink; */
    margin: 30px 0 15px;
}
.hd h3 {
    font-size: 21px;
    font-weight: 400;
}
.hd .all {
    font-size: 16px;
    color: #999;
}
.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bd li {
    width: 228px;
    height: 271px;
    background-color: #fff;
    margin-bottom: 14px;
    transition: .3s;
}
.bd li:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, .3);
    margin-top: -5px;
}
.bd li a {
    display: block;
    height: 100%;
}
.bd a h4 {
    height: 55px;
    margin: 20px 20px 0;
    font-size: 14px;
    font-weight: 400;
}
.bd a p {
    margin-left: 20px;
}
.bd a p span {
    color: #fa6400;
}
/* 课程模块结束 */

/* 前端模块 开始 */
.hd ul {
    display: flex;
}
.hd ul li a {
    font-size: 16px;
    margin: 0 30px;
}
.hd .hot {
    color: #00a4ff;
}
.bd {
    display: flex;
    justify-content: space-between;
}
.bd .left {
    width: 228px;
    height: 386px;
    /* background-color: pink; */
}
.bd .right {
    width: 957px;
    height: 386px;
    /* background-color: purple; */
}
.bd .right .top {
    height: 100px;
    margin-bottom: 15px;
}
.bd .line {
    width: 1200px;
}
/* 前端模块 结束 */

/* 底部盒子 */
.footer {
    height: 273px;
    background-color: #ffffff;
    margin-top: 45px;
    padding-top: 60px;
}
.footer .wrapper {
    display: flex;
    justify-content: space-between;
}
.footer .left .f-logo {
    display: block;
    width: 195px;
    height: 41px;
    background: url(../images/logo.png);
}
.footer .left p {
    width: 432px;
    font-size: 12px;
    color: #666;
    line-height: 17px;
    margin: 24px 0 14px;
}
.footer .left .app {
    display: block;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
    border: 1px solid #00a4ff;
}
.footer .left .app:hover {
    background-color: #00a4ff;
    color: #fff;
}
.footer .right{
    display: flex;
}
.footer .right dl {
    margin-left: 130px;
}
.footer .right dt {
    font-size: 16px;
    height: 35px;
    /* font-weight: 600; */
}
.footer .right dd {
    height: 24px;
    font-size: 14px;
}
.footer .right dd a {
    color: #666;
}
.footer .right dd a:hover {
    color: #00a4ff;
}
/* 底部盒子 */